package cn.topcodes.tcsf.app.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;
import javax.persistence.Table;
import java.util.Date;

/**
 * 用户日活
 */
@Data
@Table(name = "t_app_daily_active_users")
public class DailyActiveUsers extends IdEntity {

    public static final String FIELD_DAU_DATE = "dauDate";

    public static final String FIELD_APP_USER_ID = "appUserId";

    public static final String FIELD_COUNT = "count";

    public static final String FIELD_APP = "app";

    /**
     *  统计的日期
     */
    private Date dauDate;

    /**
     * App用户ID
     */
    private Long appUserId;

    /**
     * 活跃量化值
     */
    private Integer count;

    /**
     * 应用类型
     */
    private String app;
}
